home *** CD-ROM | disk | FTP | other *** search
/ World of Education / World of Education.iso / world_t / tw31.zip / TWQUICK.REF < prev    next >
Text File  |  1993-05-25  |  9KB  |  217 lines

  1.  
  2.  
  3.                   TutorialWriter Version 3 Command Summary
  4.  
  5.  
  6. Control Commands begin with #,@,& or %  which must be placed in the first
  7. column of a row.  The format of each command is critical to its correct
  8. interpretation. For example, the Command to clear the screen is  #EF[,15,1]
  9. The parameters in square brackets are optional but if they are used, the
  10. commas must also be put in the correct places. If optional parameters are
  11. not used, pre-programmed default values will be used in their place.
  12. Each Command is explained within the Editor HELP system and fully described
  13. in the 'How to write a Tutorial' at the Instructions Menu.
  14.  
  15.  
  16. Inline Commands begin with the symbol ~ or | and can be placed anywhere
  17. in the text.  They are removed before the text is printed to the screen.
  18.  
  19.  
  20.  
  21.  
  22. ART TEXTGRAPHICS
  23. #AH,Center,lines  .................................... Huge Robot Box
  24. #AP,Center,lines  .................................... Pointer Box
  25. #AR,Center,lines  .................................... Remember Box
  26. #AL,lines[,Fore,back] ................................ Logo Box
  27. #AC,x1,y1,Fore,Back,Message .......................... Cheering Robot
  28. #AB,n[,Fore,Back] .................................... Big Letters
  29.  
  30.    Center  :    1 - center text       0 - left justify text
  31.  
  32.  
  33.  
  34. BOX DISPLAY
  35. #BN,x1,y1,x2,y2,Boxtype,Grow,Center,lines,Fore,Back .. Normal Box
  36. #BO,x1,y1,x2,y2,Boxtype,Grow,Center,lines,Fore,Back .. Overlay Box
  37.  
  38.    Boxtype:        #BN                               #BO
  39.            0 - no border                       0 - no border
  40.            1 - single line border              1 - single line border
  41.            2 - double line border              2 - double line border
  42.            3 - single top/bot,double sides     3 - single top/bot,double sides
  43.            4 - double top/bot,single sides     4 - double top/bot/single sides
  44.            5 .. 255  ASCII character           5 - as 0 with dropped shadow
  45.                                                6 - as 1 with dropped shadow
  46.                                                7 - as 2 with dropped shadow
  47.                                                8 - as 3 with dropped shadow
  48.                                                9 - as 4 with dropped shadow
  49.                                               10 .. 255 ASCII character
  50.  
  51.  
  52.    Grow    :    1 - grow              0 - appear fully drawn
  53.    Center  :    1 - center text       0 - left justify text
  54.  
  55.  
  56. COLOR CODES FOR FORE AND BACK
  57.  
  58.     Back      Fore       Color               Fore       Color
  59.      0          0        Black                 8        DarkGray
  60.      1          1        Blue                  9        LightBlue
  61.      2          2        Green                10        LightGreen
  62.      3          3        Cyan                 11        LightCyan
  63.      4          4        Red                  12        LightRed
  64.      5          5        Magenta              13        LightMagenta
  65.      6          6        Brown                14        Yellow
  66.      7          7        LightGray            15        White
  67.  
  68.  
  69.  
  70. CURSOR CONTROL
  71. #Cx1 ................................................. Cursor at Col x1
  72. #Ry1 ................................................. Cursor at Row y1
  73. #Cx1,Ry1 ............................................. Cursor at x1,y1
  74. #ON .................................................. Show Cursor
  75. #OF .................................................. Hide Cursor
  76.  
  77.  
  78.  
  79. DELAY
  80. #Dn .................................................. Delay n seconds
  81.  
  82.  
  83. ERASE
  84. #EF[,Fore,Back] ...................................... Clear Full Screen
  85. #EW[,Fore,Back] ...................................... Clear Work Screen
  86. #EL,y1[,Fore,Back] ................................... Erase Line at Row y1
  87. #ES,x1,y1,x2,y2[,Fore,Back] .......................... Erase a Section
  88.  
  89.  
  90. EXIT
  91. #X ................................................... End CHAPTER
  92.  
  93.  
  94. GRAPHICS TEXT SCREENS
  95. #GT,Identifier (file saved with TWSNAP)............... Show Textscreen
  96. #GA,ansifile.ans ..................................... Show ANSI Graphic
  97.  
  98.  
  99. HIGHLIGHT
  100. #HP,Pointer,Direction,x1,y1[,Fore,Back] .............. Highlight Pointer
  101. #HH,x1,y1,x2,Linetype[,Fore,Back] .................... Horizontal Line
  102. #HV,x1,y1,y2,Linetype[,Fore,Back] .................... Vertical Line
  103. #HS,x1,y1,x2,y2[,Fore,Back] .......................... Color Section
  104. #HF,x1,y1,x2,y2,n[,Fore,Back] ........................ Fill with ASCII n
  105.  
  106.   Pointer     : A - arrow             T - triangle
  107.   Direction   : U - up;   D - down;   L - left;   R - right
  108.   Linetype    : 1 - single line       2 - double line
  109.  
  110.  
  111. HYPERTEXT
  112.  |word or phrase| (file created with HyperText Utility) HyperText Button
  113.  
  114.  
  115. INLINE COMMANDS
  116.  
  117.   ~lowercaseletter - changes the background color of the text being printed.
  118.   ~Uppercaseletter - changes the color of the text being printed.
  119.  
  120.           Background           Text          Color
  121.  
  122.             ~z                 ~Z            Black
  123.             ~b                 ~B            Blue
  124.             ~g                 ~G            Green
  125.             ~c                 ~C            Cyan
  126.             ~r                 ~R            Red
  127.             ~m                 ~M            Magenta
  128.             ~y                 ~Y            Brown
  129.             ~w                 ~W            LightGray
  130.                                ~Z~I          DarkGray
  131.                                ~B~I          LightBlue
  132.                                ~G~I          LightGreen
  133.                                ~C~I          LightCyan
  134.                                ~R~I          LightRed
  135.                                ~M~I          LightMagenta
  136.                                ~Y~I          Yellow
  137.                                ~W~I          White
  138.  
  139.   ~K  -  print with a clicking sound;        ~k - cancel the clicking sound.
  140.  
  141.   ~S  -  slow write to the screen;           ~s - cancel slow writing.
  142.  
  143.   |word|  makes 'word' a HYPERTEXT Button.
  144.  
  145.  
  146.  
  147. MENU
  148. #Mfilename (file created with Menu Utility) .......... Activate Menu
  149.  
  150.  
  151. MUSIC
  152. #Pfilename (file created with Music Utility) ......... Play tune
  153.  
  154.  
  155. NOISE/SOUNDS
  156. #NB .................................................. Beep
  157. #NC .................................................. Two-tone Chime
  158. #ND .................................................. Discourage Noise
  159. #NE .................................................. Encourage Noise
  160.  
  161.  
  162. PAGEMARKER
  163.  %  .................................................. Page Marker
  164.  
  165. QUIZ/TEST
  166. #QQ,R,lines .......................................... Quick Question Robot
  167. #QQ,B,lines .......................................... Quick Question Box
  168. #QQ,F,x1,y1,Tries,word ............................... Fill in Blanks
  169. #QQ,C ................................................ Give an AnswerChoice
  170.  &1 &2 &3 ............................................ Markers for choices
  171. #QM,A,t,n ............................................ Mult Choice t, n Ans
  172. #QM,L,t .............................................. Loop to Question t
  173. #QM,C,t .............................................. Go to Continue Point t
  174.   @Qt ................................................ Mark Mult Choice t
  175.   @n ................................................. Mark Answers
  176.  @Ct ................................................. Mark Continue Point t
  177. #QT,Q,filename (file created with Quiz Utility) ...... Run Quiz(filename)
  178. #QT,T,filename (file created with Test Utility) ...... Run Test(filename)
  179.  
  180.  
  181. SCREEN
  182. #SK,S,n .............................................. Save Screen n
  183. #SK,D,n .............................................. Dispose Screen n
  184. #SK,R,Direction,n .................................... Restore Screen n
  185. #SS,Direction,x1,y1,x2,y2,n .......................... Scroll Screen
  186.  
  187.   Direction           : U - up;   D - down;   L - left;   R - right
  188.                         N - iNstantly
  189.  
  190. TITLE
  191. #T[Fore,Back] ........................................ Put Title on
  192.    #T[Title]
  193.    #T[Fore,Back,Title]
  194.  
  195.  
  196. USER FILES
  197. #UFilename.ext[,Parameters]  ......................... Run program Filename
  198.  
  199.  
  200. USER INPUT
  201. #Yn (n is  0 to 9) ................................... Get Info from User
  202. ~Un (Inline Command) ................................. Display User Info n
  203.  
  204.  
  205. VOICE
  206. #Vfilename (file created with Voice Utility) ......... Play a Voice file
  207.  
  208.  
  209. WAIT
  210. #W[Switch[,Switch[,Switch] ........................... Continue plus
  211. #W  .................................................. Continue or Quit
  212. #WH .................................................. Continue,Quit,Help
  213. #WP .................................................. Continue,Quit,Pageback
  214. #WN .................................................. Continue
  215. #WH,P,N .............................................. Continue,Help,Pageback
  216.  
  217.